import React, { Component } from 'react';
import {Popup} from 'antd-mobile'
import style from './footerAlertMaskList.scss'

class FooterAlertMaskList extends Component {
    constructor(props) {
        super(props);
        this.state = {

        };
    }

	componentWillMount(){

	}

	componentDidMount() {

	}

	onClickCallBack(type,typeNameJc,times,timesName,bizProvinceId){
		this.props.onClick&&this.props.onClick(type,typeNameJc,times,timesName,bizProvinceId)
	}

    render() {
		let item = this.props.data;
        return (
            <div className={style.footerAlertBoxList}>
	            <li onClick={()=>{
					this.onClickCallBack(item.type,item.typeNameJc,item.times,item.timesName,item.bizProvinceId)
					}}>
		            {item.typeNameJc}
		            {
						this.props.visaType==item.type?<img className={style.choice} src="./images/choice.png"/>:null
	                }
				</li>
            </div>
        )
    }
}

FooterAlertMaskList.defaultProps = {

}

export default FooterAlertMaskList